package ten;

import static util.Print.print;

/**
 * Created by ab on 2016/11/4.
 */
public class lesson1 {
    class Contents {
        private int i = 11;

        public int value() {
            return i;
        }
    }
    //Destination 目的地
    class Destination{
        private String label;
        Destination(String whereTo){
            label=whereTo;
        }
        String readLabel(){return label;}
    }
    public void ship(String dest){
        Contents c= new Contents();
        Destination d= new Destination(dest);
        print(d.readLabel());
    }
    public static void main(String[] args){
        lesson1 l = new lesson1();
        l.ship("Tasmania");
    }
}
